package cn.topevery.garden.entity.dto;

import cn.topevery.garden.entity.po.GreFile;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.basis.entity.po.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 内业检查 DTO
 */
@Data
@ApiModel(value = "TaskDocumentDTO", description = "内业检查 DTO")
public class TaskDocumentDTO implements Serializable {
    /**
     * 自增id
     */
    private Integer id;

    /**
     * 标段ID
     */
    @ApiModelProperty(value = "标段ID")
    private Integer sectionId;

    /**
     * 标段名字
     */
    @ApiModelProperty(value = "标段名字")
    private String sectionName;

    /**
     * 企业ID
     */
    @ApiModelProperty(value = "企业ID")
    private Integer companyId;

    /**
     * 企业名字
     */
    @ApiModelProperty(value = "企业名字")
    private String companyName;

    /**
     * 考评时间
     */
    @ApiModelProperty(value = "考评时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime evaluationTime;

    /**
     * 考评得分
     */
    @ApiModelProperty(value = "考评得分")
    private Integer score;

    /**
     * 检查时间
     */
    @ApiModelProperty(value = "检查时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime checkTime;

    /**
     * 考评内容
     */
    @ApiModelProperty(value = "考评内容")
    private String evaluationContent;

    /**
     * 考评人员
     */
    @ApiModelProperty(value = "考评人员")
    private List<SysUser> evaluationUserList;

    /**
     * 考评附件
     */
    @ApiModelProperty(value = "考评附件")
    private List<GreFile> fileList;
}
